; ChatCommands.cfg
; Please use this format when creating your own style scripts.

; Emulating:	Chewbacca Bot v2.0a8 (by Lord`Bacca`[vL])
; Author:	UserLoser
; Email:	userloser@comcast.net
; Website:	http://www.userloser.net/

; Use 'copy' trigger to make "shortcuts" to text (most useful for colors).
; Colors are in blue green red order (hex).  Put &h infront of 6-digit color identifiers.  &h is not needed in 'nameco' trigger, but can still be used.
; &hNAMECO is a special identifier for other user's name, which will display color based on flags.  Specify flag colors with 'nameco' trigger.

; Variables (used in 'event' trigger):
; %1 - Event id
; %2 - Name field of event
; %3 - Text field of event
; %4 - Product for showuser, join; otherwise blank
; %5 - Parsed stats for showuser, join; otherwise blank
; %6 - Flags field of event
; %7 - Flags field of event (in hex)
; %8 - Ping field of event
; %9 - Ping field of event (in hex)

timestamp [/time/] 
timestamp color /WHITE/

; Internal color identifiers
copy /NAME/ &hNAMECO
copy /SELF/ &hMYNAME

; ChewBaccaBot color map
copy /WHITE/ &hffffff
copy /GRAY/ &h808080
copy /RED/ &h0000FF
copy /GREEN/ &h00FF00
copy /BLUE/ &hFF0000

nameco name /BLUE/	; Non-self no-flagged name (used in user list)
nameco self /BLUE/	; Self name (also used in user list)
nameco 1 /BLUE/		; Blizzard Employee
nameco 2 /BLUE/	; Channel Operator
nameco 4 /BLUE/		; Speaker
nameco 8 /BLUE/		; Battle.net System Administrator
nameco &h20 /BLUE/	; Squelched

; Chat events
event 0 &hFFFF00<%2> %3
event 1 /green/%2:%8 is here using %5
event 2 /green/%2:%8 joined the channel using %5
event 3 /green/%2 left the channel.
event 4 /blue/<FROM: %2> /green/%3
event 5 /green/<%2> /white/%3
event 6 /red/%3
event 7 /red/--%2 joined %10 channel %3--
event 10 /green/<TO: %2> %3 
event &h12 /red/INFO: %3
event &h13 /red/ERROR: %3
event &h17 /gray/%2 %3
